{%include file="index.header.tpl.php"%}
{%include file="index.left.tpl.php"%}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
          <section class="col-lg-12 connectedSortable">
             <div class="box box-default box-solid">
                 <form action="" method="post">
                    <div class="box-header with-border">
                        <span class="fa fa-edit" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                        <p class="box-title">{%$grade_data.grade_name%}作业补贴费用</p>
                    </div>
                    <div class="box-body">
                        <div class="form-group" >
                                <label class="col-md-4 text-right control-label" style="font-weight:500;">
                                     年级名称：
                                </label>
                                <div class="input-group col-md-4">
                                     <input type="text" class="form-control" value="{%$grade_data.grade_name%}" readonly>
                                </div>
                        </div>
                        <div class="form-group">
                                <label class="col-md-4 text-right control-label" style="font-weight:500;">
                                     享受作业补贴学科：
                                </label>
                                <div class="input-group col-md-6">
									{%foreach from=$subject_lists key=key item=value%}
                                     <label class="choice"><input type="checkbox" name="work_subject[]" value="{%$value.subject_id%}" {%if $value.check=='1'%}checked{%/if%}> {%$value.subject_name%}</label>
									{%/foreach%}
                                </div>
                        </div> 
                        <div class="form-group">
                                <label class="col-md-4 text-right control-label" style="font-weight:500;">
                                     任课第一个班补：
                                </label>
                                <div class="input-group col-md-4">
                                     <input type="text" class="form-control" name="first_sub" value="{%$work_data.first_sub%}">
                                </div>
                        </div>
                        <div class="form-group">
                                <label class="col-md-4 text-right control-label" style="font-weight:500;">
                                     任课第二个班以后班补：
                                </label>
                                <div class="input-group col-md-4">
                                     <input type="text" class="form-control" name="other_sub" value="{%$work_data.other_sub%}">
                                </div>
                        </div>                                 
                    </div><!--box-body --> 
                    <div class="box-footer text-center">
                        <button type="submit" class="btn btn-primary"> 确 定</button>   	   
                    </div>
                 </form>
             </div><!--box box-default box-solid-->
          </section>   
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
{%include file="index.footer.tpl.php"%}
